package com.hls.mvc.core;

import java.util.HashMap;
import java.util.Map;

public class Model {
    private Map<String,Object> attribute;
    public void addAttribute(String attName,Object object)
    {
        if(attribute == null)
        {
            attribute = new HashMap<String, Object>();
        }
        attribute.put(attName, object);
    }
    public Map<String,Object> getAttibutes()
    {
        return this.attribute;
    }
}
